package pl.creativecoder.mixplus.manager;

import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;

public class Splash extends Activity {

	@Override
	protected void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		setContentView(R.layout.splash);
		
		Thread timer = new Thread(){
			public void run() {
				try{
					sleep(5000);
				} catch (InterruptedException e) {
					e.printStackTrace();
				} finally {
					Intent openApplication = new Intent("pl.creativecoder.mixplus.manager.APPLICATION");
					startActivity(openApplication);
				}
			}
		};
		
		timer.start();		
	}
	
	

}